#!/bin/bash
# @file: 
#	pushall.sh
# @desc:
#	This is a templation
# @Author:
#	codergege
# @Last Update:
#	2016-11-25 
# @usage:
#	 ./pushall.sh

# path
home=/home/codergege
pwdDir=$pwd

#echo "==> push vimwiki:"
#cd ~
#cd vimwiki
#./git_push.sh
#echo "--------------------------------------------"

echo "==> push note"
cd ~
cd note
./git_push.sh
echo "--------------------------------------------"

echo "==> push .vim:"
cd ~
cd .vim
./git_push.sh
echo "--------------------------------------------"

echo "==> push config:"
cd ~
cd config
./git_push.sh
echo "--------------------------------------------"

echo "==> push script:"
cd ~
cd script
./git_push.sh
echo "--------------------------------------------"

echo "==> push workspace:"
cd ~
cd workspace
./git_push.sh
echo "--------------------------------------------"

cd /usr/bin
if [ ! -f "pushall.sh" ]; then
	sudo ln -sf /home/codergege/script/pushall.sh pushall.sh
fi
cd $pwdDir
